package com.httputils;

/**
 * 应用启动后，该类将进行启动
 * @author ZHK
 *
 */
public class CacheBean {

	public static CacheBean cacheBean;
	boolean isLogin;
	boolean isTimeout;
	String username;
	int windowWidth, windowHeight;
	private String uerId="";//用户id
	public static CacheBean getInstance() {
		if (cacheBean == null) {
			cacheBean = new CacheBean();
			return cacheBean;
		}
		return cacheBean;

	}
	
	public boolean isTimeout() {
		return isTimeout;
	}

	public void setTimeout(boolean isTimeout) {
		this.isTimeout = isTimeout;
	}

	public int getWindowHeight() {
		return windowHeight;
	}

	public void setWindowHeight(int windowHeight) {
		this.windowHeight = windowHeight;
	}

	public int getWindowWidth() {
		return windowWidth;
	}

	public void setWindowWidth(int windowWidth) {
		this.windowWidth = windowWidth;
	}

	public boolean isLogin() {
		return isLogin;
	}

	public void setLogin(boolean isLogin) {
		this.isLogin = isLogin;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUerId() {
		return uerId;
	}

	public void setUerId(String uerId) {
		this.uerId = uerId;
	}

	

}
